package com.client.entity;

import com.porm.framework.annotation.Table;

import java.util.Date;

/**
 * Student
 *
 * @author humdeef
 * @date 2018/11/13
 */
@Table(name = "t_student")
public class Student {

    private Long id;

    private String name;

    private Integer age;

    private Integer sex;

    private Date ctime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", sex=" + sex +
                ", ctime=" + ctime +
                '}';
    }
}
